<%@ page import="psychoproject.AbcdQuestion" %>



<div class="fieldcontain ${hasErrors(bean: abcdQuestionInstance, field: 'answerTextA', 'error')} ">
	<label for="answerTextA">
		<g:message code="abcdQuestion.answerTextA.label" default="Answer Text A" />
		
	</label>
	<g:textField name="answerTextA" value="${abcdQuestionInstance?.answerTextA}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: abcdQuestionInstance, field: 'answerTextB', 'error')} ">
	<label for="answerTextB">
		<g:message code="abcdQuestion.answerTextB.label" default="Answer Text B" />
		
	</label>
	<g:textField name="answerTextB" value="${abcdQuestionInstance?.answerTextB}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: abcdQuestionInstance, field: 'answerTextC', 'error')} ">
	<label for="answerTextC">
		<g:message code="abcdQuestion.answerTextC.label" default="Answer Text C" />
		
	</label>
	<g:textField name="answerTextC" value="${abcdQuestionInstance?.answerTextC}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: abcdQuestionInstance, field: 'answerTextD', 'error')} ">
	<label for="answerTextD">
		<g:message code="abcdQuestion.answerTextD.label" default="Answer Text D" />
		
	</label>
	<g:textField name="answerTextD" value="${abcdQuestionInstance?.answerTextD}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: abcdQuestionInstance, field: 'correctAnswer', 'error')} ">
	<label for="correctAnswer">
		<g:message code="abcdQuestion.correctAnswer.label" default="Correct Answer" />
		
	</label>
	<g:textField name="correctAnswer" value="${abcdQuestionInstance?.correctAnswer}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: abcdQuestionInstance, field: 'questionText', 'error')} ">
	<label for="questionText">
		<g:message code="abcdQuestion.questionText.label" default="Question Text" />
		
	</label>
	<g:textField name="questionText" value="${abcdQuestionInstance?.questionText}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: abcdQuestionInstance, field: 'type', 'error')} ">
	<label for="type">
		<g:message code="abcdQuestion.type.label" default="Type" />
		
	</label>
	<g:textField name="type" value="${abcdQuestionInstance?.type}"/>
</div>

